package com.dhx.dao;

import java.io.IOException;

public class BackUpDao {
    public void backup() throws IOException {
        Runtime.getRuntime().exec("D:/idea-workspace/JavaEE/Student Work/dbbackup.bat");
    }

    public void restore() throws IOException {
        Runtime.getRuntime().exec("D:/idea-workspace/JavaEE/Student Work/dbrestore.bat");
    }

}
